{template 'header'}
{template 'slide'}
<style>
body{
font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
color:{$_W['styles']['fontcolor']};
padding:0;
margin:0;
background-image:url('{if !empty($_W['styles']['indexbgimg'])}{$_W['styles']['indexbgimg']}{/if}');
background-size:cover;
background-color:{if empty($_W['styles']['indexbgcolor'])}#f0efef{else}{$_W['styles']['indexbgcolor']}{/if};
{$_W['styles']['indexbgextra']}
}
a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
{$_W['styles']['css']}
.box{width:98.5%; margin:1.5% 0 1.5% 2%; overflow:hidden;}
.box .box-item{float:left;text-align:center;display:block;text-decoration:none;outline:none;width:31.5%;height:80px;position:relative; color:#FFF;background:#5d4bbb;padding:5px 0; margin:0 1.5% 1.5% 0;}
.box .box-item i{display:inline-block;width:50px;height:50px;line-height:50px;font-size:35px;color:#FFF; overflow: hidden;}
.box .box-item span{color:{if empty($_W['styles']['fontnavcolor'])}#333{else}{$_W['styles']['fontnavcolor']}{/if};display:block;font-size:14px; position:absolute; bottom:0; width:100%; background:#ffffff; border-bottom-left-radius:6px;border-bottom-right-radius:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px; -webkit-border-bottom-left-radius:6px; -webkit-border-bottom-right-radius:6px;}
#footer{color:#333;}
.content-tel {
text-align: center;
height: 40px;
background:#EA5946;
color: #fff;
font-size: 18px;
position: relative;
border-radius: 5px;
margin: 10px 0px;
line-height: 40px;
widtH:97.5%;
}
.content-tel i:before{content: "\f095";}
.content-tel i{font-size:24px;padding-right:16px;}
</style>

<div class="box">
<div class="content-tel"><i class="icon-phone"></i><a href="tel:037156619281" style="color:#fff">037156619281</a></div>
	{php $bg = '#D87570';}
	{php $num = 1;}
	{loop $navs $nav}
	{php if($num == 2) $bg = '#BBD1C4';}
	{php if($num == 3) $bg = '#FEBF02';}
	{php if($num == 4) $bg = '#BC4040';}
	{php if($num == 5) $bg = '#D87570';}
	{php if($num == 6) $bg = '#BBD1C4';}
	{php if($num == 7) $bg = '#FEBF02';}
	{php if($num == 8) $bg = '#BC4040';}
		
	<a href="{$nav['url']}" class="box-item img-rounded" style="background:{$bg};">
		{if !empty($nav['icon'])}
		<i style="background:url({$_W['attachurl']}{$nav['icon']}) no-repeat;background-size:cover;" class=""></i>
		{else}
		<i class="{$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>
		{/if}
		<span style="{$nav['css']['name']}">{$nav['name']}</span>
	</a>
		{php $num++;}
		{php if($num >= 8) $num = 1;}
	{/loop}
</div>
{template 'footer'}